package com.android.main.flutter;

import android.util.Log;
import androidx.annotation.NonNull;
import com.android.common.flutter.FlutterChannel;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;

/**
 * flutter启动过程参照
 * <a href="https://www.xdnf.cn/news/87929.html">...</a>
 */
public class MainActivity extends FlutterActivity {
    @Override
    public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) {
        super.configureFlutterEngine(flutterEngine);
        FlutterChannel.getInstance().initFlutterChannel(flutterEngine);
    }
}
